package org.jivesoftware.smackx.entitycaps.packet;

import org.jivesoftware.smack.packet.PacketExtension;

public class CapsExtension
  implements PacketExtension
{
  private String node;
  private String ver;
  private String hash;

  public CapsExtension()
  {
  }

  public CapsExtension(String paramString1, String paramString2, String paramString3)
  {
    this.node = paramString1;
    this.ver = paramString2;
    this.hash = paramString3;
  }

  public String getElementName()
  {
    return "c";
  }

  public String getNamespace()
  {
    return "http://jabber.org/protocol/caps";
  }

  public String getNode()
  {
    return this.node;
  }

  public void setNode(String paramString)
  {
    this.node = paramString;
  }

  public String getVer()
  {
    return this.ver;
  }

  public void setVer(String paramString)
  {
    this.ver = paramString;
  }

  public String getHash()
  {
    return this.hash;
  }

  public void setHash(String paramString)
  {
    this.hash = paramString;
  }

  public String toXML()
  {
    String str = "<c xmlns=\"http://jabber.org/protocol/caps\" hash=\"" + this.hash + "\" " + "node=\"" + this.node + "\" " + "ver=\"" + this.ver + "\"/>";
    return str;
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smackx.entitycaps.packet.CapsExtension
 * JD-Core Version:    0.6.1
 */